package factory;

import model.FarmMachine;
import model.Tractor;

/**
 * 拖拉机工厂实现
 */
public class TractorFactory implements FarmEquipmentFactory {
    @Override
    public FarmMachine createEquipment(String name) {
        //System.out.println("创建拖拉机: " + name);
        return new Tractor(name);
    }
}
